/*
 * DeliveryResponse.java
 * business
 *
 * Created by ChenTao on 2017/2/28.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;
import com.yidiandao.business.data.bean.Goods;
import com.yidiandao.business.data.bean.Order;
import com.yidiandao.business.data.bean.Shop;

import java.util.List;

/** 我是代理商 配送信息 */
public class DeliveryResponse extends PagerResponse {

    @SerializedName("data")
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {

        @SerializedName("count")
        private String count;

        @SerializedName("order_list")
        private List<OrderListBean> orderList;

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public List<OrderListBean> getOrderList() {
            return orderList;
        }

        public void setOrderList(List<OrderListBean> orderList) {
            this.orderList = orderList;
        }

        public static class OrderListBean {

            @SerializedName("order_info")
            private Order orderInfo;

            @SerializedName("supplier_info")
            private Shop supplierInfo;

            @SerializedName("goods_list")
            private List<Goods> goodsList;

            public Order getOrderInfo() {
                return orderInfo;
            }

            public void setOrderInfo(Order orderInfo) {
                this.orderInfo = orderInfo;
            }

            public Shop getSupplierInfo() {
                return supplierInfo;
            }

            public void setSupplierInfo(Shop supplierInfo) {
                this.supplierInfo = supplierInfo;
            }

            public List<Goods> getGoodsList() {
                return goodsList;
            }

            public void setGoodsList(List<Goods> goodsList) {
                this.goodsList = goodsList;
            }
        }
    }
}
